Creating a custom sort order

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

Is it possible and if so how can I create A custom sort order for a query

My specific question is I have a mixed listing and I want the query to sort it as follows

A0
A0
A0
B0
C0

Currently it returns
A0
A0
A0
B0
C0

Thanks in advance

Daniel
 
Try thi

SELECT Table1.Sor
FROM Table
ORDER BY LEFT(sort,1),Mid([table1].[sort],2) DESC;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top