Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7668867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:27:59+00:00 2026-05-31T15:27:59+00:00

I have a project where I have to sort a list of messages. Basically

  • 0

I have a project where I have to sort a list of messages. Basically these are messages placed somewhere with gps positions. I have an id field a message field (blob) longitude latitude ownertype and userrating. The point is to sort these messages according to ownertype and userrating. ownertype is a tinyint and userrating is an int. The question is, is it better to just get all the relevant messages joined with the users and then order it in java , or is it better to do an order by clause in your sql statement.

I forgot to add a couple of things. There are going to be thousands of request a minute but the rows returned could potentially reach a hundred.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:28:00+00:00Added an answer on May 31, 2026 at 3:28 pm

    databases are excellent at sorting and retrieving sets. – let it do that for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing project written in Ruby on Rails. It is sort of
I have a Django project for managing a list of journal articles. The main
I have this problem in a project I'm working on: I have a list
Okay, I have reached a sort of an impasse. In my open source project,
I want to have a List or Array of some sort, storing this information
how can I create a linked list in actionScript 3.0? I have a project
I am currently working on a C# WPF project. I have a list which
I have a project that needs a sort of shopping cart that is always
I have a List(Of MyObject) that I need to sort. So I've made sure
In my limited experience, I've been on several projects that have had some sort

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.