# Sorting in Pgfplotstable not working

I am trying to sort a table I created with the pgfplotstable package and I can't find out why it is not working.

\pgfplotstableset{col sep=semicolon, use comma, fixed, set thousands separator={}}
{
Matrikelnummer;Note
1010123;1.4
1010121;2.3
1010122;1.1



When I change the sort key to "Note" it works like a charm. But the example above simply does not change the order.

If you set sort cmp={int <} it works fine.

\documentclass{article}
\usepackage{pgfplotstable}
\begin{document}
\pgfplotstableset{col sep=semicolon, use comma, fixed, set thousands separator={}}
{
Matrikelnummer;Note
1010123;1.4
1010121;2.3
1010122;1.1

• @baghira Yes, int is for integer. It tells pgfplotstable what kind of comparison function to use for the sorting, and int < expects integer values as inputs. The default is float <, which expects floats as inputs, and that didn't seem to work for your integers. Feb 8 '18 at 10:28