entry sorting works now