Sort on linux fix