numeric sorting fix