diff --git a/src/storage/v3/request_helper.hpp b/src/storage/v3/request_helper.hpp
index c291e63d4..e3c5b9d3f 100644
--- a/src/storage/v3/request_helper.hpp
+++ b/src/storage/v3/request_helper.hpp
@@ -138,7 +138,8 @@ std::vector<Element<TObjectAccessor>> OrderByElements(Shard::Accessor &acc, DbAc
     properties_order_by.reserve(order_bys.size());
 
     for (const auto &order_by : order_bys) {
-      if constexpr (std::is_same_v<TIterable, VerticesIterable>) {
+      if constexpr (std::is_same_v<TIterable, VerticesIterable> ||
+                    std::is_same_v<TIterable, std::vector<VertexAccessor>>) {
         properties_order_by.push_back(ComputeExpression(dba, *it, std::nullopt, order_by.expression.expression,
                                                         expr::identifier_node_symbol, expr::identifier_edge_symbol));
       } else {