Alphanumeric use case - Fluid Topics - Latest

Fluid Topics Configuration and Administration Guide

Category
Reference Guides
Audience
public
Version
Latest

The ACME company has published its documentation in the three following versions: 1.2.3, 1.10.0, and 1.3.0.

The Alphanumeric sort method treats values as text, and sorts them character by character. The values are ordered as follows:

  1. 1.10.0
  2. 1.2.3
  3. 1.3.0

Indeed, the character 1 in 10 comes before 2 and 3. The order is wrong.

The Version sort method interprets each segment as a number and sorts them correctly. The values are ordered as follows:

  1. 1.2.3
  2. 1.3.0
  3. 1.10.0