Fix sort order. ok pedro@