Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting

Status
Not open for further replies.

Transient1

Mechanical
Joined
Jan 31, 2007
Messages
267
Location
US
Hi,

I'm working with electronic components that are referenced by a letter and a number(i.e. C1 C2 C3...) and I want to be able to sort these by letter then by number. Using Data>>Sort leaves me with:

C1
C11
C12
C13
C14
.
.
.
C2
C21
C22
.
.
.

Yet, I want it as C1,C2,C3....C10,C11,C12. Is there an easy way around this problem?

Thanks.
Thanks.
 
Use C01, C02 etc.

xnuke
"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Use ASAP utilities ( which has an Advanced Sorting option. You can sort by "Alphanumeric strings based on their numeric portions" as they call it.

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top