Fix server cache sort