Hi, I have few rows of data
[TABLE="width: 500"]
<tbody>[TR]
[TD]COL A[/TD]
[TD]COL B[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]0.2[/TD]
[/TR]
[TR]
[TD]C100[/TD]
[TD]0.3[/TD]
[/TR]
[TR]
[TD]C101[/TD]
[TD]0.4[/TD]
[/TR]
[TR]
[TD]C2[/TD]
[TD]0.6[/TD]
[/TR]
[TR]
[TD]C201[/TD]
[TD]0.7[/TD]
[/TR]
[TR]
[TD]C202[/TD]
[TD]0.8[/TD]
[/TR]
[TR]
[TD]R3[/TD]
[TD]0.9[/TD]
[/TR]
[TR]
[TD]R301[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]R302[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
Expected Result
[TABLE="width: 500"]
<tbody>[TR]
[TD]COL A[/TD]
[TD]COL B[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]0.2[/TD]
[/TR]
[TR]
[TD]C2[/TD]
[TD]0.6[/TD]
[/TR]
[TR]
[TD]C3[/TD]
[TD]0.9[/TD]
[/TR]
[TR]
[TD]C100[/TD]
[TD]0.3[/TD]
[/TR]
[TR]
[TD]C101[/TD]
[TD]0.4[/TD]
[/TR]
[TR]
[TD]C200[/TD]
[TD]0.6[/TD]
[/TR]
[TR]
[TD]C201[/TD]
[TD]0.7[/TD]
[/TR]
[TR]
[TD]C202[/TD]
[TD]0.8[/TD]
[/TR]
[TR]
[TD]R3[/TD]
[TD]0.9[/TD]
[/TR]
</tbody>[/TABLE]
Bottom Line I need to sort it as C1,C2,C3,.....C100,c101.. alphabet's first then numbers 1,2,3, sorting alpha numerically
Using build in SORT function I get C1,C100,C101.... I have like 500 rows as such, is there any way I could accomplish this with macro's?
[TABLE="width: 500"]
<tbody>[TR]
[TD]COL A[/TD]
[TD]COL B[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]0.2[/TD]
[/TR]
[TR]
[TD]C100[/TD]
[TD]0.3[/TD]
[/TR]
[TR]
[TD]C101[/TD]
[TD]0.4[/TD]
[/TR]
[TR]
[TD]C2[/TD]
[TD]0.6[/TD]
[/TR]
[TR]
[TD]C201[/TD]
[TD]0.7[/TD]
[/TR]
[TR]
[TD]C202[/TD]
[TD]0.8[/TD]
[/TR]
[TR]
[TD]R3[/TD]
[TD]0.9[/TD]
[/TR]
[TR]
[TD]R301[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]R302[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
Expected Result
[TABLE="width: 500"]
<tbody>[TR]
[TD]COL A[/TD]
[TD]COL B[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]0.2[/TD]
[/TR]
[TR]
[TD]C2[/TD]
[TD]0.6[/TD]
[/TR]
[TR]
[TD]C3[/TD]
[TD]0.9[/TD]
[/TR]
[TR]
[TD]C100[/TD]
[TD]0.3[/TD]
[/TR]
[TR]
[TD]C101[/TD]
[TD]0.4[/TD]
[/TR]
[TR]
[TD]C200[/TD]
[TD]0.6[/TD]
[/TR]
[TR]
[TD]C201[/TD]
[TD]0.7[/TD]
[/TR]
[TR]
[TD]C202[/TD]
[TD]0.8[/TD]
[/TR]
[TR]
[TD]R3[/TD]
[TD]0.9[/TD]
[/TR]
</tbody>[/TABLE]
Bottom Line I need to sort it as C1,C2,C3,.....C100,c101.. alphabet's first then numbers 1,2,3, sorting alpha numerically
Using build in SORT function I get C1,C100,C101.... I have like 500 rows as such, is there any way I could accomplish this with macro's?