Sort lockups by end time once ended