Bibliography does not sort by alphabet

I have a problem with sorting bibliography by alphabetical how to solve it.

Most of the numbered styles will order the citations based on the order of appearance not based on an alpha sort. You can change the behavior but it will also change the numbers in the text.

You will need to edit the output style you are using to change the bibliography sort order.

 In EndNote you can go to Edit > Output Styles > Open Style Manager > locate the style you are using > Click Edit > go to Sort Order under Bibliography > change the setting to one of alpha options like Author + Title > go To File > Save As > (EndNote will not allow you to change the existing style in EndNote but will always apply the change to a copy of the style) Click Save to save the changes to a copy of the style > close the style window.

You can then use the following steps to change the style in Word to the new one that was just created:

It looks like you are using footnotes and then a bibliography is generated.  Can you say what journal this is destined for and what output style you are using before making the the changeS described by Tony. 

Yes, It is footnotes edited from chicago 16th footnote edit for faculty of law that have some diferent from the original style.

Then you wouldn’t edit or even use the citation template you altered?  Do you want the independent bibliography numbered?  That also isn’t normally how a footnoted document uses the bibliography, as it is independent from the footnotes, which again can reuse the records, and so numbering wouldn’t correspond to the footnote numbers.