tracks sorting fix