• CCC

    (@chanecullens)


    Qubely supports sorting with Ascending and Descending. This works find for most strings. However, if you have post titles that start with numbers the sorting is not logical to most users. For example if you have a dozen posts they are sorted
    1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9.
    This can be accomplished in JavaScript using localeCompare with the {numeric: true} option.
    Then the sort order would make more sense
    1, 2, 3, …. 10, 11, 12

    thanks
    CCCC

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Allow numeric sorting in Post Grid’ is closed to new replies.